package monster.com.cvh.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author: monster
 * @data: 2018/4/10
 * @function: 解析手机登录返回信息的bean类
 */
public class LoginBean implements Serializable {


    /**
     * code : 1
     * data : {"userInfo":[{"gender":"","iconUrl":"","isNotify":1,"name":"小飞哥哥","pushId":"","selfIntro":"","token":"eyJhbGciOiJIUzI1NiIsImlhdCI6MTUyMzUwMDQ5NSwiZXhwIjoxNTIzNTA0MDk1fQ.eyJ1c2VyX2lkIjoiMyIsImlhdCI6MTUyMzUwMDQ5NS4zNzI0NjA2fQ.A2D5Ql6uStLBi9N9h8j_ASIj1RmhKD-N8MGTs8IE2uc","userId":3}]}
     * msg : ok
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        private List<UserInfoBean> userInfo;

        public List<UserInfoBean> getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(List<UserInfoBean> userInfo) {
            this.userInfo = userInfo;
        }

        public static class UserInfoBean {
            /**
             * gender :
             * iconUrl :
             * isNotify : 1
             * name : 小飞哥哥
             * pushId :
             * selfIntro :
             * token : eyJhbGciOiJIUzI1NiIsImlhdCI6MTUyMzUwMDQ5NSwiZXhwIjoxNTIzNTA0MDk1fQ.eyJ1c2VyX2lkIjoiMyIsImlhdCI6MTUyMzUwMDQ5NS4zNzI0NjA2fQ.A2D5Ql6uStLBi9N9h8j_ASIj1RmhKD-N8MGTs8IE2uc
             * userId : 3
             */

            private String gender;
            private String iconUrl;
            private int isNotify;
            private String name;
            private String pushId;
            private String selfIntro;
            private String token;
            private int userId;
            private String displayID;

            public String getDisplayId() {
                return displayID;
            }

            public void setDisplayId(String displayID) {
                this.displayID = displayID;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getIconUrl() {
                return iconUrl;
            }

            public void setIconUrl(String iconUrl) {
                this.iconUrl = iconUrl;
            }

            public int getIsNotify() {
                return isNotify;
            }

            public void setIsNotify(int isNotify) {
                this.isNotify = isNotify;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPushId() {
                return pushId;
            }

            public void setPushId(String pushId) {
                this.pushId = pushId;
            }

            public String getSelfIntro() {
                return selfIntro;
            }

            public void setSelfIntro(String selfIntro) {
                this.selfIntro = selfIntro;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }
        }
    }
}
